Here are some C example programs that should be helpful:
Examples of printf and formating
Examples of scanf and formating
File Input Output
String Basics
String I/O
Command Line Parameters
Note: these are not well thought out programs but should give some basics. I did this quickly from some reference materials. I will be refining them as the semester progresses. Student feedback will help determine what changes I make.
Also, I have been checking these files on DevC++ for my 505 class and MSVC++ for my 145 class. Hold DOS is necessary for DevC++ and not for MSVC++. There are some other minor difference, such as MSVC++ needing string.h to include strcpy.